package oop.ex1.actions;

import java.io.File;
import java.io.IOException;
//###############
//FILE : DiskAttributesFilter.java
//WRITER : Amir Wilf, wilfoa, 300007085
//WRITER : Daniel Acherkan, danithelion, 310116348
//EXERCISE : oop ex1 2011
//DESCRIPTION:
//A Remove action class - an action that removes a given file.
//###############
public class RemoveAction implements Action{
	@Override
	/**
	 * Deletes a given file.
	 * @param file the file to be deleted. 
	 */
	public void doAction(File file) throws IOException {
		file.delete();		
	}
}
